package Month5;

import java.time.LocalDate;
import java.time.temporal.TemporalAdjusters;

public class A20250505HOMEWORK2
{
    public static void main(String[] args)
    {//1549李翰哲//1549李翰哲//1549李翰哲//1549李翰哲
        LocalDate today = LocalDate.now();
        String[] arr = today.toString().split("-");
        int year = Integer.parseInt(arr[0]);
        if(year%4 == 0 && year%100 != 0 || year%400 == 0)
        {
            System.out.println(year + "是闰年");
        }
        else {
            System.out.println("并不是");
        }


    }//1549李翰哲//1549李翰哲//1549李翰哲//1549李翰哲
}
